import request from "@/utils/request";
import { AesMain } from "@/utils/AesHmacMD5"

// 查询投资列表
export function listInvestType(query) {
  return request({
    url: "/admin/budget/invest/list/",
    method: "post",
    data: AesMain(query)
  });
}

// 新增投资
export function addInvestType(query) {
  return request({
    url: "/admin/budget/invest/add/",
    method: "post",
    data: AesMain(query)
  });
}

// 修改投资
export function editInvestType(query) {
  return request({
    url: "/admin/budget/invest/edit/",
    method: "post",
    data: AesMain(query)
  });
}

// 删除投资
export function delInvestType(query) {
  return request({
    url: "/admin/budget/invest/delete/",
    method: "post",
    data: AesMain(query)
  });
}
//文件上传
export function addWelloil(query) {
  return request({
    url: "/admin/budget/invest/addWelloil/",
    method: "post",
    data: AesMain(query)
  });
}
//常规文件上传
export function addcgWelloil(query) {
  return request({
    url: "/admin/budget/invest/addcgWelloil/",
    method: "post",
    data: AesMain(query)
  });
}
